.class Les/cy$b;
.super Ljava/lang/Object;
.source "NewStorageDeviceBlock.java"

# interfaces
.implements Les/cy$f;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/cy;->g()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/cy;


# direct methods
.method constructor <init>(Les/cy;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/cy$b;->a:Les/cy;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/util/ArrayList;)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    if-eqz p1, :cond_6

    .line 19
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_6

    iget-object v0, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v0}, Les/cy;->b(Les/cy;)Ljava/util/Map;

    move-result-object v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v0}, Les/cy;->a(Les/cy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    if-nez v0, :cond_0

    goto :goto_1

    .line 20
    :cond_0
    iget-object v0, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v0}, Les/cy;->d(Les/cy;)Ljava/util/List;

    move-result-object v0

    if-nez v0, :cond_1

    .line 21
    iget-object v0, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v0}, Les/cy;->e(Les/cy;)Ljava/util/List;

    :cond_1
    const/4 v0, 0x0

    .line 22
    invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_2
    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_3

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 23
    iget-object v2, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v2, v1}, Les/cy;->b(Les/cy;Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    const/4 v0, 0x1

    goto :goto_0

    :cond_3
    if-nez v0, :cond_4

    return-void

    .line 24
    :cond_4
    iget-object p1, p0, Les/cy$b;->a:Les/cy;

    invoke-static {p1}, Les/cy;->f(Les/cy;)Ljava/lang/Object;

    move-result-object p1

    monitor-enter p1

    .line 25
    :try_start_0
    iget-object v0, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v0}, Les/cy;->g(Les/cy;)Les/cy$e;

    move-result-object v0

    if-eqz v0, :cond_5

    .line 26
    iget-object v0, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v0}, Les/cy;->g(Les/cy;)Les/cy$e;

    move-result-object v0

    invoke-virtual {v0}, Les/cy$e;->a()V

    .line 27
    iget-object v0, p0, Les/cy$b;->a:Les/cy;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Les/cy;->a(Les/cy;Les/cy$e;)Les/cy$e;

    .line 28
    :cond_5
    monitor-exit p1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 29
    iget-object p1, p0, Les/cy$b;->a:Les/cy;

    invoke-virtual {p1}, Les/cy;->e()V

    return-void

    :catchall_0
    move-exception v0

    .line 30
    :try_start_1
    monitor-exit p1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    throw v0

    :cond_6
    :goto_1
    return-void
.end method

.method public a(Ljava/util/ArrayList;Z)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;Z)V"
        }
    .end annotation

    if-eqz p1, :cond_6

    .line 1
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_6

    iget-object v0, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v0}, Les/cy;->b(Les/cy;)Ljava/util/Map;

    move-result-object v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v0}, Les/cy;->a(Les/cy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    if-nez v0, :cond_0

    goto/16 :goto_2

    .line 2
    :cond_0
    iget-object v0, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v0}, Les/cy;->d(Les/cy;)Ljava/util/List;

    move-result-object v0

    if-nez v0, :cond_1

    .line 3
    iget-object v0, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v0}, Les/cy;->e(Les/cy;)Ljava/util/List;

    .line 4
    :cond_1
    invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 5
    iget-object v1, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v1, v0}, Les/cy;->a(Les/cy;Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    if-eqz p2, :cond_4

    .line 6
    iget-object p1, p0, Les/cy$b;->a:Les/cy;

    invoke-static {p1}, Les/cy;->b(Les/cy;)Ljava/util/Map;

    move-result-object p1

    if-eqz p1, :cond_4

    .line 7
    iget-object p1, p0, Les/cy$b;->a:Les/cy;

    invoke-static {p1}, Les/cy;->b(Les/cy;)Ljava/util/Map;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_3
    :goto_1
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result p2

    if-eqz p2, :cond_4

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Ljava/lang/String;

    .line 8
    invoke-static {p2}, Lcom/estrongs/android/util/h0;->t2(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 9
    iget-object v0, p0, Les/cy$b;->a:Les/cy;

    invoke-static {v0}, Les/cy;->b(Les/cy;)Ljava/util/Map;

    move-result-object v0

    invoke-interface {v0, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Les/zx;

    .line 10
    instance-of v0, p2, Les/by;

    if-eqz v0, :cond_3

    check-cast p2, Les/by;

    invoke-virtual {p2}, Les/by;->c()Z

    move-result v0

    if-nez v0, :cond_3

    const/4 v0, 0x0

    .line 11
    invoke-virtual {p2, v0}, Les/by;->b(Z)V

    goto :goto_1

    .line 12
    :cond_4
    iget-object p1, p0, Les/cy$b;->a:Les/cy;

    invoke-static {p1}, Les/cy;->f(Les/cy;)Ljava/lang/Object;

    move-result-object p1

    monitor-enter p1

    .line 13
    :try_start_0
    iget-object p2, p0, Les/cy$b;->a:Les/cy;

    invoke-static {p2}, Les/cy;->g(Les/cy;)Les/cy$e;

    move-result-object p2

    if-eqz p2, :cond_5

    .line 14
    iget-object p2, p0, Les/cy$b;->a:Les/cy;

    invoke-static {p2}, Les/cy;->g(Les/cy;)Les/cy$e;

    move-result-object p2

    invoke-virtual {p2}, Les/cy$e;->a()V

    .line 15
    iget-object p2, p0, Les/cy$b;->a:Les/cy;

    const/4 v0, 0x0

    invoke-static {p2, v0}, Les/cy;->a(Les/cy;Les/cy$e;)Les/cy$e;

    .line 16
    :cond_5
    monitor-exit p1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 17
    iget-object p1, p0, Les/cy$b;->a:Les/cy;

    invoke-virtual {p1}, Les/cy;->e()V

    return-void

    :catchall_0
    move-exception p2

    .line 18
    :try_start_1
    monitor-exit p1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    throw p2

    :cond_6
    :goto_2
    return-void
.end method
